class Tab{
  constructor(){
    this.index = 0;
    this.title = this.obtain(".ct-tab-title");
    this.obtain();
  }
  //获取dom元素
  obtain(dom){
    return document.querySelector(dom);
  }

  //增加tab页
  add(){
    

  }
}



